\hypertarget{classQTwitLib}{
\section{QTwitLib Class Reference}
\label{classQTwitLib}\index{QTwitLib@{QTwitLib}}
}
{\tt \#include $<$QTwitLib.h$>$}

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
EXPORT \hyperlink{classQTwitLib_05a415b71f2ad7b6b5af3df5c070e9e2}{QTwitLib} (\hyperlink{classITwitReply}{ITwitReply} $\ast$obj)
\item 
virtual \hyperlink{classQTwitLib_8a2629b2c3afe96eccf411224019aabb}{$\sim$QTwitLib} ()
\item 
EXPORT void \hyperlink{classQTwitLib_af025ecfc615510eacb42b7522c266a9}{GetPublicTimeline} ()
\item 
EXPORT void \hyperlink{classQTwitLib_892fc8f5a0c0198e6d80b12bfb28e4b1}{GetSingleStatus} (int id)
\item 
EXPORT void \hyperlink{classQTwitLib_cb2283600d80a9b733dda9307b8400e4}{GetFeaturedUsers} ()
\item 
EXPORT void \hyperlink{classQTwitLib_c2967d2e8ded282821034f4bc0caa2aa}{Logout} ()
\item 
EXPORT void \hyperlink{classQTwitLib_7d42e8478d2eb87b147cd3df0f8771e8}{Login} (std::string user, std::string password)
\item 
EXPORT void \hyperlink{classQTwitLib_0a8aa39556fc28d406ac4441e551dd50}{GetDowntimeSchedule} ()
\item 
EXPORT void \hyperlink{classQTwitLib_b2e5ba83065079134755ac6815a58788}{IsTwitterUp} ()
\item 
EXPORT void \hyperlink{classQTwitLib_999f01850a12a88d243332dc2bf755f4}{GetUsersTimeline} (\hyperlink{structSERVER_1_1Option2}{SERVER::Option2} $\ast$opt=NULL)
\item 
EXPORT void \hyperlink{classQTwitLib_7b3774941753d8746a55ae0df19b7959}{GetFavorites} (std::string user=\char`\"{}\char`\"{}, int page=1)
\item 
EXPORT void \hyperlink{classQTwitLib_a6d4b6755131819aa80b23050b0f2e90}{GetFriendsTimeline} (\hyperlink{structSERVER_1_1Option1}{SERVER::Option1} $\ast$opt=NULL)
\item 
EXPORT void \hyperlink{classQTwitLib_c22d0aa3bde76fba0ce2d45179d1494b}{PostNewStatus} (std::string status)
\item 
EXPORT void \hyperlink{classQTwitLib_60fc1eae15a11b68583c6610aaaccec3}{GetRecentReplies} (\hyperlink{structSERVER_1_1Option3}{SERVER::Option3} $\ast$opt=NULL)
\item 
EXPORT void \hyperlink{classQTwitLib_8d5971709c2feaa30193fcb2918017f9}{RemoveStatus} (int id)
\item 
EXPORT void \hyperlink{classQTwitLib_c3850ca7725d87d78c57a2dfb298af9f}{GetFriends} (\hyperlink{structSERVER_1_1Option4}{SERVER::Option4} $\ast$opt=NULL)
\item 
EXPORT void \hyperlink{classQTwitLib_e4bdc7e46040d27e8945b912a9f84541}{GetFollowers} (\hyperlink{structSERVER_1_1Option5}{SERVER::Option5} $\ast$opt=NULL)
\item 
EXPORT void \hyperlink{classQTwitLib_9361839a5b059781f143e237dc31fddb}{GetUserDetails} (std::string user)
\item 
EXPORT void \hyperlink{classQTwitLib_9171d183e65f495b24d98d8440f037b7}{GetSentDirectMessages} (\hyperlink{structSERVER_1_1Option6}{SERVER::Option6} $\ast$opt=NULL)
\item 
EXPORT void \hyperlink{classQTwitLib_e74e86c34e908189d4ae40359daa48e2}{GetReceivedDirectMessages} (\hyperlink{structSERVER_1_1Option6}{SERVER::Option6} $\ast$opt=NULL)
\item 
EXPORT void \hyperlink{classQTwitLib_da8e53e355f2c5f13affe2d59e4e9279}{SendDirectMessage} (std::string user, std::string text)
\item 
EXPORT void \hyperlink{classQTwitLib_a67bee8da6dc22a60d8d16ae02dda240}{RemoveDirectMessage} (int id)
\item 
EXPORT void \hyperlink{classQTwitLib_23d0817187f9fdb91310395e668b52ed}{AddFriendship} (std::string user)
\item 
EXPORT void \hyperlink{classQTwitLib_989786fb8d1d013fdffb11c5fff157e1}{RemoveFriendship} (std::string user)
\item 
EXPORT void \hyperlink{classQTwitLib_fc32d1e3393877f561c680b680d86730}{FriendshipExist} (std::string user\_\-a, std::string user\_\-b)
\item 
EXPORT void \hyperlink{classQTwitLib_893a5f44401cd8d82ed7e703ad914bb3}{VerifyCredentials} ()
\item 
EXPORT void \hyperlink{classQTwitLib_e5cf26304dbf16a676503ae6c00dae0c}{UpdateLocation} (std::string location)
\item 
EXPORT void \hyperlink{classQTwitLib_38f917ae2aacd9c9d6f66ad9d2149f58}{UpdateDeliveryDevice} (\hyperlink{namespaceSERVER_354160f0b752453a760c63ec882c8c87}{SERVER::DEVICES} device)
\item 
EXPORT void \hyperlink{classQTwitLib_5f15bafdef1c85e75895347252c43de4}{RemainingApiRequests} ()
\item 
EXPORT void \hyperlink{classQTwitLib_0021eb836ece32c14cbe01d66bc8c79a}{AddFavorite} (int id)
\item 
EXPORT void \hyperlink{classQTwitLib_efabe0560a2117e232d48cc536d67e0e}{RemoveFavorite} (int id)
\item 
EXPORT void \hyperlink{classQTwitLib_a8195413e39929fd57e475db2d0ce193}{StartFollow} (std::string user)
\item 
EXPORT void \hyperlink{classQTwitLib_8f1cf32162899f244c32e5aa80efa03c}{StopFollow} (std::string user)
\item 
EXPORT void \hyperlink{classQTwitLib_1d58c50e49ec6fc89d64ed3118643a16}{BlockUser} (std::string user)
\item 
EXPORT void \hyperlink{classQTwitLib_59654af43516e00dce939c25e1d4a738}{UnBlockUser} (std::string user)
\end{CompactItemize}


\subsection{Detailed Description}


Definition at line 16 of file QTwitLib.h.

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classQTwitLib_05a415b71f2ad7b6b5af3df5c070e9e2}{
\index{QTwitLib@{QTwitLib}!QTwitLib@{QTwitLib}}
\index{QTwitLib@{QTwitLib}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}QTwitLib::QTwitLib ({\bf ITwitReply} $\ast$ {\em obj})}}
\label{classQTwitLib_05a415b71f2ad7b6b5af3df5c070e9e2}




Definition at line 6 of file QTwitLib.cpp.\hypertarget{classQTwitLib_8a2629b2c3afe96eccf411224019aabb}{
\index{QTwitLib@{QTwitLib}!$\sim$QTwitLib@{$\sim$QTwitLib}}
\index{$\sim$QTwitLib@{$\sim$QTwitLib}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}QTwitLib::$\sim$QTwitLib ()\hspace{0.3cm}{\tt  \mbox{[}virtual\mbox{]}}}}
\label{classQTwitLib_8a2629b2c3afe96eccf411224019aabb}




Definition at line 11 of file QTwitLib.cpp.

\subsection{Member Function Documentation}
\hypertarget{classQTwitLib_af025ecfc615510eacb42b7522c266a9}{
\index{QTwitLib@{QTwitLib}!GetPublicTimeline@{GetPublicTimeline}}
\index{GetPublicTimeline@{GetPublicTimeline}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::GetPublicTimeline ()}}
\label{classQTwitLib_af025ecfc615510eacb42b7522c266a9}


Returns the 20 most recent statuses from non-protected users who have set a custom user icon. Does not require authentication. 

Definition at line 20 of file QTwitLib.cpp.\hypertarget{classQTwitLib_892fc8f5a0c0198e6d80b12bfb28e4b1}{
\index{QTwitLib@{QTwitLib}!GetSingleStatus@{GetSingleStatus}}
\index{GetSingleStatus@{GetSingleStatus}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::GetSingleStatus (int {\em id})}}
\label{classQTwitLib_892fc8f5a0c0198e6d80b12bfb28e4b1}


Returns a single status, specified by the id parameter below. The status's author will be returned inline. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em id}]Required. The numerical ID of the status you're trying to retrieve. \end{description}
\end{Desc}


Definition at line 25 of file QTwitLib.cpp.\hypertarget{classQTwitLib_cb2283600d80a9b733dda9307b8400e4}{
\index{QTwitLib@{QTwitLib}!GetFeaturedUsers@{GetFeaturedUsers}}
\index{GetFeaturedUsers@{GetFeaturedUsers}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::GetFeaturedUsers ()}}
\label{classQTwitLib_cb2283600d80a9b733dda9307b8400e4}


Returns a list of the users currently featured on the site with their current statuses inline. 

Definition at line 30 of file QTwitLib.cpp.\hypertarget{classQTwitLib_c2967d2e8ded282821034f4bc0caa2aa}{
\index{QTwitLib@{QTwitLib}!Logout@{Logout}}
\index{Logout@{Logout}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::Logout ()}}
\label{classQTwitLib_c2967d2e8ded282821034f4bc0caa2aa}


Ends the session of the authenticating user, returning a null cookie. Use this method to sign users out of client-facing applications like widgets. 

Definition at line 35 of file QTwitLib.cpp.\hypertarget{classQTwitLib_7d42e8478d2eb87b147cd3df0f8771e8}{
\index{QTwitLib@{QTwitLib}!Login@{Login}}
\index{Login@{Login}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::Login (std::string {\em user}, \/  std::string {\em password})}}
\label{classQTwitLib_7d42e8478d2eb87b147cd3df0f8771e8}


Attempts to establish an authorized connection with Twitter. 

Definition at line 40 of file QTwitLib.cpp.\hypertarget{classQTwitLib_0a8aa39556fc28d406ac4441e551dd50}{
\index{QTwitLib@{QTwitLib}!GetDowntimeSchedule@{GetDowntimeSchedule}}
\index{GetDowntimeSchedule@{GetDowntimeSchedule}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::GetDowntimeSchedule ()}}
\label{classQTwitLib_0a8aa39556fc28d406ac4441e551dd50}


Returns the same text displayed on \href{http://twitter.com/home}{\tt http://twitter.com/home} when a maintenance window is scheduled, in the requested format. 

Definition at line 45 of file QTwitLib.cpp.\hypertarget{classQTwitLib_b2e5ba83065079134755ac6815a58788}{
\index{QTwitLib@{QTwitLib}!IsTwitterUp@{IsTwitterUp}}
\index{IsTwitterUp@{IsTwitterUp}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::IsTwitterUp ()}}
\label{classQTwitLib_b2e5ba83065079134755ac6815a58788}


Returns the string \char`\"{}ok\char`\"{} in the requested format with a 200 OK HTTP status code. 

Definition at line 50 of file QTwitLib.cpp.\hypertarget{classQTwitLib_999f01850a12a88d243332dc2bf755f4}{
\index{QTwitLib@{QTwitLib}!GetUsersTimeline@{GetUsersTimeline}}
\index{GetUsersTimeline@{GetUsersTimeline}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::GetUsersTimeline ({\bf SERVER::Option2} $\ast$ {\em opt} = {\tt NULL})}}
\label{classQTwitLib_999f01850a12a88d243332dc2bf755f4}


Returns the 20 most recent statuses posted from the authenticating user. It's also possible to request another user's timeline via the id parameter below. This is the equivalent of the Web /archive page for your own user, or the profile page for a third party. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em opt}]Optional. Options which can be user specified. \end{description}
\end{Desc}


Definition at line 55 of file QTwitLib.cpp.\hypertarget{classQTwitLib_7b3774941753d8746a55ae0df19b7959}{
\index{QTwitLib@{QTwitLib}!GetFavorites@{GetFavorites}}
\index{GetFavorites@{GetFavorites}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::GetFavorites (std::string {\em user} = {\tt \char`\"{}\char`\"{}}, \/  int {\em page} = {\tt 1})}}
\label{classQTwitLib_7b3774941753d8746a55ae0df19b7959}


Returns the 20 most recent favorite statuses for the authenticating user or user specified by the ID parameter in the requested format. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em user}]Optional. The ID or screen name of the user for whom to request a list of favorite statuses. \end{description}
\end{Desc}


Definition at line 60 of file QTwitLib.cpp.\hypertarget{classQTwitLib_a6d4b6755131819aa80b23050b0f2e90}{
\index{QTwitLib@{QTwitLib}!GetFriendsTimeline@{GetFriendsTimeline}}
\index{GetFriendsTimeline@{GetFriendsTimeline}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::GetFriendsTimeline ({\bf SERVER::Option1} $\ast$ {\em opt} = {\tt NULL})}}
\label{classQTwitLib_a6d4b6755131819aa80b23050b0f2e90}


Returns the 20 most recent statuses posted by the authenticating user and that user's friends. This is the equivalent of /home on the Web. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em opt}]Optional. Options which can be user specified. \end{description}
\end{Desc}


Definition at line 65 of file QTwitLib.cpp.\hypertarget{classQTwitLib_c22d0aa3bde76fba0ce2d45179d1494b}{
\index{QTwitLib@{QTwitLib}!PostNewStatus@{PostNewStatus}}
\index{PostNewStatus@{PostNewStatus}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::PostNewStatus (std::string {\em status})}}
\label{classQTwitLib_c22d0aa3bde76fba0ce2d45179d1494b}


Updates the authenticating user's status. Requires the status parameter specified below. Request must be a POST. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em status}]Required. The text of your status update. Be sure to URL encode as necessary. Must not be more than 160 characters and should not be more than 140 characters to ensure optimal display. \end{description}
\end{Desc}


Definition at line 70 of file QTwitLib.cpp.\hypertarget{classQTwitLib_60fc1eae15a11b68583c6610aaaccec3}{
\index{QTwitLib@{QTwitLib}!GetRecentReplies@{GetRecentReplies}}
\index{GetRecentReplies@{GetRecentReplies}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::GetRecentReplies ({\bf SERVER::Option3} $\ast$ {\em opt} = {\tt NULL})}}
\label{classQTwitLib_60fc1eae15a11b68583c6610aaaccec3}


Returns the 20 most recent  (status updates prefixed with ) for the authenticating user. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em opt}]Optional. Options which can be user specified. \end{description}
\end{Desc}


Definition at line 75 of file QTwitLib.cpp.\hypertarget{classQTwitLib_8d5971709c2feaa30193fcb2918017f9}{
\index{QTwitLib@{QTwitLib}!RemoveStatus@{RemoveStatus}}
\index{RemoveStatus@{RemoveStatus}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::RemoveStatus (int {\em id})}}
\label{classQTwitLib_8d5971709c2feaa30193fcb2918017f9}


Destroys the status specified by the required ID parameter. The authenticating user must be the author of the specified status. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em id}]Required. The ID of the status to destroy. \end{description}
\end{Desc}


Definition at line 80 of file QTwitLib.cpp.\hypertarget{classQTwitLib_c3850ca7725d87d78c57a2dfb298af9f}{
\index{QTwitLib@{QTwitLib}!GetFriends@{GetFriends}}
\index{GetFriends@{GetFriends}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::GetFriends ({\bf SERVER::Option4} $\ast$ {\em opt} = {\tt NULL})}}
\label{classQTwitLib_c3850ca7725d87d78c57a2dfb298af9f}


Returns up to 100 of the authenticating user's friends who have most recently updated, each with current status inline. It's also possible to request another user's recent friends list via the id parameter below. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em opt}]Optional. Options which can be user specified. \end{description}
\end{Desc}


Definition at line 85 of file QTwitLib.cpp.\hypertarget{classQTwitLib_e4bdc7e46040d27e8945b912a9f84541}{
\index{QTwitLib@{QTwitLib}!GetFollowers@{GetFollowers}}
\index{GetFollowers@{GetFollowers}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::GetFollowers ({\bf SERVER::Option5} $\ast$ {\em opt} = {\tt NULL})}}
\label{classQTwitLib_e4bdc7e46040d27e8945b912a9f84541}


Returns the authenticating user's followers, each with current status inline. They are ordered by the order in which they joined Twitter (this is going to be changed). \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em opt}]Optional. Options which can be user specified. \end{description}
\end{Desc}


Definition at line 90 of file QTwitLib.cpp.\hypertarget{classQTwitLib_9361839a5b059781f143e237dc31fddb}{
\index{QTwitLib@{QTwitLib}!GetUserDetails@{GetUserDetails}}
\index{GetUserDetails@{GetUserDetails}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::GetUserDetails (std::string {\em user})}}
\label{classQTwitLib_9361839a5b059781f143e237dc31fddb}


Returns extended information of a given user, specified by ID or screen name as per the required id parameter below. This information includes design settings, so third party developers can theme their widgets according to a given user's preferences. You must be properly authenticated to request the page of a protected user. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em user}]Required. The ID or screen name of a user. \end{description}
\end{Desc}


Definition at line 95 of file QTwitLib.cpp.\hypertarget{classQTwitLib_9171d183e65f495b24d98d8440f037b7}{
\index{QTwitLib@{QTwitLib}!GetSentDirectMessages@{GetSentDirectMessages}}
\index{GetSentDirectMessages@{GetSentDirectMessages}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::GetSentDirectMessages ({\bf SERVER::Option6} $\ast$ {\em opt} = {\tt NULL})}}
\label{classQTwitLib_9171d183e65f495b24d98d8440f037b7}


Returns a list of the 20 most recent direct messages sent by the authenticating user. The XML and JSON versions include detailed information about the sending and recipient users. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em opt}]Optional. Options which can be user specified. \end{description}
\end{Desc}


Definition at line 100 of file QTwitLib.cpp.\hypertarget{classQTwitLib_e74e86c34e908189d4ae40359daa48e2}{
\index{QTwitLib@{QTwitLib}!GetReceivedDirectMessages@{GetReceivedDirectMessages}}
\index{GetReceivedDirectMessages@{GetReceivedDirectMessages}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::GetReceivedDirectMessages ({\bf SERVER::Option6} $\ast$ {\em opt} = {\tt NULL})}}
\label{classQTwitLib_e74e86c34e908189d4ae40359daa48e2}


Returns a list of the 20 most recent direct messages sent to the authenticating user. The XML and JSON versions include detailed information about the sending and recipient users. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em opt}]Optional. Options which can be user specified. \end{description}
\end{Desc}


Definition at line 105 of file QTwitLib.cpp.\hypertarget{classQTwitLib_da8e53e355f2c5f13affe2d59e4e9279}{
\index{QTwitLib@{QTwitLib}!SendDirectMessage@{SendDirectMessage}}
\index{SendDirectMessage@{SendDirectMessage}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::SendDirectMessage (std::string {\em user}, \/  std::string {\em text})}}
\label{classQTwitLib_da8e53e355f2c5f13affe2d59e4e9279}


Sends a new direct message to the specified user from the authenticating user. Requires both the user and text parameters below. Request must be a POST. Returns the sent message in the requested format when successful. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em user}]Required. The ID or screen name of the recipient user. \item[{\em text}]Required. The text of your direct message. Be sure to URL encode as necessary, and keep it under 140 characters. \end{description}
\end{Desc}


Definition at line 110 of file QTwitLib.cpp.\hypertarget{classQTwitLib_a67bee8da6dc22a60d8d16ae02dda240}{
\index{QTwitLib@{QTwitLib}!RemoveDirectMessage@{RemoveDirectMessage}}
\index{RemoveDirectMessage@{RemoveDirectMessage}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::RemoveDirectMessage (int {\em id})}}
\label{classQTwitLib_a67bee8da6dc22a60d8d16ae02dda240}


Destroys the direct message specified in the required ID parameter. The authenticating user must be the recipient of the specified direct message. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em id}]Required. The ID of the direct message to destroy. \end{description}
\end{Desc}


Definition at line 115 of file QTwitLib.cpp.\hypertarget{classQTwitLib_23d0817187f9fdb91310395e668b52ed}{
\index{QTwitLib@{QTwitLib}!AddFriendship@{AddFriendship}}
\index{AddFriendship@{AddFriendship}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::AddFriendship (std::string {\em user})}}
\label{classQTwitLib_23d0817187f9fdb91310395e668b52ed}


Befriends the user specified in the ID parameter as the authenticating user. Returns the befriended user in the requested format when successful. Returns a string describing the failure condition when unsuccessful. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em user}]Required. The ID or screen name of the user to befriend. \end{description}
\end{Desc}


Definition at line 120 of file QTwitLib.cpp.\hypertarget{classQTwitLib_989786fb8d1d013fdffb11c5fff157e1}{
\index{QTwitLib@{QTwitLib}!RemoveFriendship@{RemoveFriendship}}
\index{RemoveFriendship@{RemoveFriendship}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::RemoveFriendship (std::string {\em user})}}
\label{classQTwitLib_989786fb8d1d013fdffb11c5fff157e1}


Discontinues friendship with the user specified in the ID parameter as the authenticating user. Returns the un-friended user in the requested format when successful. Returns a string describing the failure condition when unsuccessful. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em user}]Required. The ID or screen name of the user with whom to discontinue friendship. \end{description}
\end{Desc}


Definition at line 125 of file QTwitLib.cpp.\hypertarget{classQTwitLib_fc32d1e3393877f561c680b680d86730}{
\index{QTwitLib@{QTwitLib}!FriendshipExist@{FriendshipExist}}
\index{FriendshipExist@{FriendshipExist}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::FriendshipExist (std::string {\em user\_\-a}, \/  std::string {\em user\_\-b})}}
\label{classQTwitLib_fc32d1e3393877f561c680b680d86730}


Tests if a friendship exists between two users. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em user\_\-a}]Required. The ID or screen\_\-name of the first user to test friendship for. \item[{\em user\_\-b}]Required. The ID or screen\_\-name of the second user to test friendship for. \end{description}
\end{Desc}


Definition at line 130 of file QTwitLib.cpp.\hypertarget{classQTwitLib_893a5f44401cd8d82ed7e703ad914bb3}{
\index{QTwitLib@{QTwitLib}!VerifyCredentials@{VerifyCredentials}}
\index{VerifyCredentials@{VerifyCredentials}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::VerifyCredentials ()}}
\label{classQTwitLib_893a5f44401cd8d82ed7e703ad914bb3}


Returns an HTTP 200 OK response code and a format-specific response if authentication was successful. Use this method to test if supplied user credentials are valid with minimal overhead. 

Definition at line 135 of file QTwitLib.cpp.\hypertarget{classQTwitLib_e5cf26304dbf16a676503ae6c00dae0c}{
\index{QTwitLib@{QTwitLib}!UpdateLocation@{UpdateLocation}}
\index{UpdateLocation@{UpdateLocation}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::UpdateLocation (std::string {\em location})}}
\label{classQTwitLib_e5cf26304dbf16a676503ae6c00dae0c}


Updates the location attribute of the authenticating user, as displayed on the side of their profile and returned in various API methods. Works as either a POST or a GET. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em location}]Required. The location of the user. Please note this is not normalized, geocoded, or translated to latitude/longitude at this time. \end{description}
\end{Desc}


Definition at line 140 of file QTwitLib.cpp.\hypertarget{classQTwitLib_38f917ae2aacd9c9d6f66ad9d2149f58}{
\index{QTwitLib@{QTwitLib}!UpdateDeliveryDevice@{UpdateDeliveryDevice}}
\index{UpdateDeliveryDevice@{UpdateDeliveryDevice}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::UpdateDeliveryDevice ({\bf SERVER::DEVICES} {\em device})}}
\label{classQTwitLib_38f917ae2aacd9c9d6f66ad9d2149f58}


Sets which device Twitter delivers updates to for the authenticating user. Sending none as the device parameter will disable IM or SMS updates. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em device}]Required. Must be one of: sms, im, none. \end{description}
\end{Desc}


Definition at line 145 of file QTwitLib.cpp.\hypertarget{classQTwitLib_5f15bafdef1c85e75895347252c43de4}{
\index{QTwitLib@{QTwitLib}!RemainingApiRequests@{RemainingApiRequests}}
\index{RemainingApiRequests@{RemainingApiRequests}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::RemainingApiRequests ()}}
\label{classQTwitLib_5f15bafdef1c85e75895347252c43de4}


Returns the remaining number of API requests available to the authenticating user before the API limit is reached for the current hour. Calls to rate\_\-limit\_\-status require authentication, but will not count against the rate limit. 

Definition at line 150 of file QTwitLib.cpp.\hypertarget{classQTwitLib_0021eb836ece32c14cbe01d66bc8c79a}{
\index{QTwitLib@{QTwitLib}!AddFavorite@{AddFavorite}}
\index{AddFavorite@{AddFavorite}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::AddFavorite (int {\em id})}}
\label{classQTwitLib_0021eb836ece32c14cbe01d66bc8c79a}


Favorites the status specified in the ID parameter as the authenticating user. Returns the favorite status when successful. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em id}]Required. The ID of the status to favorite. \end{description}
\end{Desc}


Definition at line 155 of file QTwitLib.cpp.\hypertarget{classQTwitLib_efabe0560a2117e232d48cc536d67e0e}{
\index{QTwitLib@{QTwitLib}!RemoveFavorite@{RemoveFavorite}}
\index{RemoveFavorite@{RemoveFavorite}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::RemoveFavorite (int {\em id})}}
\label{classQTwitLib_efabe0560a2117e232d48cc536d67e0e}


Un-favorites the status specified in the ID parameter as the authenticating user. Returns the un-favorited status in the requested format when successful. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em id}]Required. The ID of the status to un-favorite. \end{description}
\end{Desc}


Definition at line 160 of file QTwitLib.cpp.\hypertarget{classQTwitLib_a8195413e39929fd57e475db2d0ce193}{
\index{QTwitLib@{QTwitLib}!StartFollow@{StartFollow}}
\index{StartFollow@{StartFollow}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::StartFollow (std::string {\em user})}}
\label{classQTwitLib_a8195413e39929fd57e475db2d0ce193}


Enables notifications for updates from the specified user to the authenticating user. Returns the specified user when successful. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em user}]Required. The ID or screen name of the user to follow. \end{description}
\end{Desc}


Definition at line 165 of file QTwitLib.cpp.\hypertarget{classQTwitLib_8f1cf32162899f244c32e5aa80efa03c}{
\index{QTwitLib@{QTwitLib}!StopFollow@{StopFollow}}
\index{StopFollow@{StopFollow}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::StopFollow (std::string {\em user})}}
\label{classQTwitLib_8f1cf32162899f244c32e5aa80efa03c}


Disables notifications for updates from the specified user to the authenticating user. Returns the specified user when successful. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em user}]Required. The ID or screen name of the user to leave. \end{description}
\end{Desc}


Definition at line 170 of file QTwitLib.cpp.\hypertarget{classQTwitLib_1d58c50e49ec6fc89d64ed3118643a16}{
\index{QTwitLib@{QTwitLib}!BlockUser@{BlockUser}}
\index{BlockUser@{BlockUser}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::BlockUser (std::string {\em user})}}
\label{classQTwitLib_1d58c50e49ec6fc89d64ed3118643a16}


Blocks the user specified in the ID parameter as the authenticating user. Returns the blocked user in the requested format when successful. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em user}]Required. The ID or screen\_\-name of the user to block. \end{description}
\end{Desc}


Definition at line 175 of file QTwitLib.cpp.\hypertarget{classQTwitLib_59654af43516e00dce939c25e1d4a738}{
\index{QTwitLib@{QTwitLib}!UnBlockUser@{UnBlockUser}}
\index{UnBlockUser@{UnBlockUser}!QTwitLib@{QTwitLib}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void QTwitLib::UnBlockUser (std::string {\em user})}}
\label{classQTwitLib_59654af43516e00dce939c25e1d4a738}


Un-blocks the user specified in the ID parameter as the authenticating user. Returns the un-blocked user in the requested format when successful. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em user}]Required. The ID or screen\_\-name of the user to un-block. \end{description}
\end{Desc}


Definition at line 180 of file QTwitLib.cpp.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
include/\hyperlink{QTwitLib_8h}{QTwitLib.h}\item 
src/\hyperlink{QTwitLib_8cpp}{QTwitLib.cpp}\end{CompactItemize}
